package cn.sirun.com.fca.account.constant;

/**
 * @author vinsonhuang
 * @date 2018/8/9
 */
public interface AccountCommonConst {

    String AGREE_OPEN_BIND_REG_PROTOCOL = "agree_open_bind_reg_protocol";

    String AUTH_URL = "auth_url";

    String OWNER_OR_NAME = "owner_or_name";

    String ENGINE_ID_OR_IDENTITY = "engine_id_or_identity";

    String VEHICLE_IDENTITY_NUMBER = "vehicle_identity_number";

    String CURRENT_USER_NATION_KEY = "current_user_nation_key";

    String CURRENT_USER_PHONE_KEY = "current_user_phone_key";

    String CURRENT_USER_ID_KEY = "current_user_id_key";

    int FINISH_PREVIOUS_ACTIVITY_RESULT_CODE = 1001;

    int TURN_TO_LOGIN_ACTIVITY_RESULT_CODE = 1002;

    int TURN_TO_MAIN_ACTIVITY_RESULT_CODE = 1003;

    int MODIFY_TELEPHONE_RESULT_CODE = 1004;

    int SUBMIT_UNBIND_CAPTCHA_RESULT_CODE = 1005;

    int TURN_TO_VEHICLE_MANAGEMENT_RESULT_CODE = 1006;


    int PHOTO_FROM_ALBUM_REQUEST_CODE = 2001;

    int ADD_VEHICLE_REQUEST_CODE = 2002;

    /**
     * QQ 登录回调requestCode，请勿修改此值
     */
    int QQ_AUTH_REQUEST_CODE = 11101;

    String START_ACTIVATE_CAR_ID = "start_activate_car_id";

    /**
     * 车辆激活状态
     */
    String CAR_ACTIVATE_STATUS = "car_activate_status";

    /**
     * 车辆激活状态：未激活
     */
    int IN_ACTIVATE = 0;

    /**
     * 车辆激活状态：激活中
     */
    int ACTIVATING = 1;

    /**
     * 车辆激活状态：已激活
     */
    int ACTIVATED = 2;

    /**
     * 保持 PIN 码校验通过
     */
    String KEY_KEEP_PIN_PASSED = "keep_pin_passed";

    int PIN_CODE_LENGTH = 6;

    /**
     * 用户注册手机号 Key 值
     */
    String KEY_USER_PHONE_INFO = "user_phone_info";

    /**
     * 国家代号和手机号码分隔符
     */
    String NATION_PHONE_SPLITTER = "_";
}
